package com.gh.netty.server.handler;

import org.apache.log4j.Logger;

import java.util.List;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author hugx
 * @create 2018-09-29 17:38
 */
public class MyReadHandlerThree extends SimpleChannelInboundHandler {
    private static  final Logger log=Logger.getLogger(MyReadHandlerThree.class);

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {
        log.info("--- channelRead0 ");
        List<Byte> dataList= (List<Byte>) msg;
        System.out.println();
    }
}
